#ifndef _TURN_H
#define _TURN_H

#include "common.h"

extern uint8 right, left, length_right, length_left, length_flag, left_check, right_check, length;
extern uint8 mid;
extern uint8 overtake_time, overtake_time_flag;
extern uint16 Over_take_flag, Over_take;

void scan_pixel(uint8 *img);
void scan_pixel_stop(uint8 *img);
float turn_out(void);
void check();
void keep_left();

#endif